package f3source.s1predefinedsource;

import org.apache.flink.streaming.api.datastream.DataStreamSource;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

public class s11filesource {
    public static void main(String[] args) throws Exception{
        StreamExecutionEnvironment env = StreamExecutionEnvironment.getExecutionEnvironment();

        env.setParallelism(1);

        DataStreamSource<String> lineDS = env.readTextFile("hdfs://192.168.43.102:8020/testdata/ecommerce/orders/dt=2025-03-19");
        
        lineDS.print();

        env.execute();
    }
}
